package com.github.wisdom.common.github.modules.entity;

import io.swagger.annotations.ApiModelProperty;

public class ObjectAttr {
	@ApiModelProperty(value = "主键")
	private String id;
	@ApiModelProperty(value = "编码")
	private String code;
	@ApiModelProperty(value = "字典")
	private Dictionary dictionary;
	private String dictionaryCode;
	@ApiModelProperty(value = "属性名")
	private String attrName;
	@ApiModelProperty(value = "驼峰属性名")
	private String camelAttrName;
	@ApiModelProperty(value = "缺省值")
	private String defaultValue;
	@ApiModelProperty(value = "正则表达式")
	private String regularExpression;
	@ApiModelProperty(value = "正则说明")
	private String regularDesc;
	@ApiModelProperty(value = "简要描述")
	private String simpleDesc;
	@ApiModelProperty(value = "属性描述")
	private String attrDesc;
	@ApiModelProperty(value = "数据类型")
	private Integer datatype;
	@ApiModelProperty(value = "数据长度")
	private Integer datalength;
	@ApiModelProperty(value = "是否主键")
	private Boolean ispk;
	@ApiModelProperty(value = "是否外键")
	private Boolean isfk;
	@ApiModelProperty(value = "是否纵表")
	private Boolean ishv;
	@ApiModelProperty(value = "是否虚属性")
	private Boolean isvir;
	@ApiModelProperty(value = "是否允许为空")
	private Boolean isnull;
	@ApiModelProperty(value = "是否允许修改")
	private Boolean canModify;
	@ApiModelProperty(value = "排序值")
	private Integer seqno;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Dictionary getDictionary() {
		return dictionary;
	}

	public void setDictionary(Dictionary dictionary) {
		this.dictionary = dictionary;
	}

	public String getAttrName() {
		return attrName;
	}

	public void setAttrName(String attrName) {
		this.attrName = attrName;
	}

	public String getDefaultValue() {
		return defaultValue;
	}

	public void setDefaultValue(String defaultValue) {
		this.defaultValue = defaultValue;
	}

	public String getRegularExpression() {
		return regularExpression;
	}

	public void setRegularExpression(String regularExpression) {
		this.regularExpression = regularExpression;
	}

	public String getRegularDesc() {
		return regularDesc;
	}

	public void setRegularDesc(String regularDesc) {
		this.regularDesc = regularDesc;
	}

	public String getSimpleDesc() {
		return simpleDesc;
	}

	public void setSimpleDesc(String simpleDesc) {
		this.simpleDesc = simpleDesc;
	}

	public String getAttrDesc() {
		return attrDesc;
	}

	public void setAttrDesc(String attrDesc) {
		this.attrDesc = attrDesc;
	}

	public Integer getDatatype() {
		return datatype;
	}

	public void setDatatype(Integer datatype) {
		this.datatype = datatype;
	}

	public Integer getDatalength() {
		return datalength;
	}

	public void setDatalength(Integer datalength) {
		this.datalength = datalength;
	}

	public Boolean getIspk() {
		return ispk;
	}

	public void setIspk(Boolean ispk) {
		this.ispk = ispk;
	}

	public Boolean getIsfk() {
		return isfk;
	}

	public void setIsfk(Boolean isfk) {
		this.isfk = isfk;
	}

	public Boolean getIshv() {
		return ishv;
	}

	public void setIshv(Boolean ishv) {
		this.ishv = ishv;
	}

	public Boolean getIsvir() {
		return isvir;
	}

	public void setIsvir(Boolean isvir) {
		this.isvir = isvir;
	}

	public Boolean getIsnull() {
		return isnull;
	}

	public void setIsnull(Boolean isnull) {
		this.isnull = isnull;
	}

	public Boolean getCanModify() {
		return canModify;
	}

	public void setCanModify(Boolean canModify) {
		this.canModify = canModify;
	}

	public Integer getSeqno() {
		return seqno;
	}

	public void setSeqno(Integer seqno) {
		this.seqno = seqno;
	}

	public String getDictionaryCode() {
		return dictionaryCode;
	}

	public void setDictionaryCode(String dictionaryCode) {
		this.dictionaryCode = dictionaryCode;
	}

	public String getCamelAttrName() {
		return camelAttrName;
	}

	public void setCamelAttrName(String camelAttrName) {
		this.camelAttrName = camelAttrName;
	}

	
}
